package com.jgdt.jgdtkasannong_university_gene_backend.service.content.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jgdt.jgdtkasannong_university_gene_backend.entity.content.DataTemplate;
import com.jgdt.jgdtkasannong_university_gene_backend.mapper.content.DataTemplateMapper;
import com.jgdt.jgdtkasannong_university_gene_backend.service.content.DataTemplateService;
import com.jgdt.jgdtkasannong_university_gene_backend.vo.content.excel.research_team.data.TeamDataVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 数据模板表 服务实现类
 * </p>
 *
 * @author chenzg
 * @since 2025-04-24
 */
@Service
public class DataTemplateServiceImpl extends ServiceImpl<DataTemplateMapper,DataTemplate> implements DataTemplateService {

    @Autowired
    private DataTemplateMapper dataTemplateMapper;

    @Override
    public DataTemplate queryDataTemplateByid(Integer dataTemplateId) {
        if(dataTemplateId==null){
            return null;
        }
       return dataTemplateMapper.selectById(dataTemplateId);
    }


}
